package com.jk.smartelderlycare.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@ToString
@TableName(value = "sys_tution")
public class SysTution implements Serializable {
    private static final long serialVersionUID = 5046101148965847186L;

    @TableId(value = "tution_id",type = IdType.AUTO)
    private Long tutionId;

    private String tutionName;

    private String tutionFs;

    private Long tutionShare;

    private Long tutionCollect;

    private String modifyUser;

    private Date modifyTime;

    private String status;

    private String tutionImg;

    private Date openingHours;

    private String address;

    private String phone;
    @TableField(exist = false)
    private String strTution;

    @TableField(exist = false)
    private String startDate;//开始时间
    @TableField(exist = false)
    private String endDate;//结束时间

    @TableField(exist = false)
    private List<Long> labelIds;//新增多个id(新增修改)

    @TableField(exist = false)
    private String strLabel;//数据库角色编号(回显使用)


}